package com.beta.service;

import com.baomidou.framework.service.ISuperService;
import com.baomidou.mybatisplus.plugins.Page;
import com.beta.dto.home.HomeBannersDto;
import com.beta.entity.HomeBanners;
import com.beta.entity.Users;

import java.util.List;

/**
 *
 * HomeBanners 表数据服务层接口
 *
 */
public interface IHomeBannersService extends ISuperService<HomeBanners> {

    List<HomeBanners> getHomeBanners(Users user);

    Page<HomeBannersDto> getHomeBannersPage(Page<HomeBannersDto> page);

    HomeBannersDto getHomeBannerById(Integer id);

    void createHomeBanner(HomeBannersDto homeBannersDto);

    void updateHomeBannerById(Integer id, HomeBannersDto homeBannersDto);

}